package com.zqj.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zqj.project.model.OrderDetail;

import java.util.List;

/**
 * @Description: OrderDetailService
 * @Author: 22001010704 Zhang Qijian
 * @CreateTime: 2024/12/8 20:39
 * @Version: 1.0
 */
public interface OrderDetailService {

    IPage<OrderDetail> page(OrderDetail orderDetail, IPage<OrderDetail> page);

    List<OrderDetail> list(List<Long> orderIdList);

    List<OrderDetail> list(Long orderId);

    OrderDetail info(Long id);

    Boolean add(OrderDetail orderDetail);

    Boolean edit(OrderDetail orderDetail);

    Boolean delete(Long id);

}